package com.newtouch.bxzs.common.base.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 附件查询参数VO
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021年1月4日</td>
 * <td>Amour</td>
 * <td>Create</td>
 * </tr>
 * </table>
 * 
 * @author Amour
 * 
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("附件查询参数VO")
public class EnclosureVO implements Serializable {

	/** serialVersionUID */
	private static final long serialVersionUID = -6562345620618092860L;

	@ApiModelProperty(value = "关联ID,本次查询数据来源主键", required = true)
	private String attachmentRelationId;

	@ApiModelProperty("附件类型,不传时默认查询关联ID下全部类型的附件")
	private List<String> types;

	/**
	 *
	 * @param attachmentRelationId
	 * @param types
	 */
	public EnclosureVO(String attachmentRelationId, List<String> types) {
		this.attachmentRelationId = attachmentRelationId;
		this.types = types;
	}

	/**
	 *
	 */
	public EnclosureVO() {
		super();
	}
}
